package data;

public class TempEdge extends Edge{
	private boolean beforeMerged;
	private double mergeDistance;
	public TempEdge(Edge edge) {
		this.setDistance(edge.getDistance());
		this.setFrom(edge.getFrom());
		this.setTo(edge.getTo());
	}
	public boolean isBeforeMerged() {
		return beforeMerged;
	}
	public void setBeforeMerged(boolean beforeMerged) {
		this.beforeMerged = beforeMerged;
	}
	public double getMergeDistance() {
		return mergeDistance;
	}
	public void setMergeDistance(double mergeDistance) {
		this.mergeDistance = mergeDistance;
	}
}
